Acces Denied in Drupal with no Login Block

When trying to log into drupal I was getting an access denied error and there was no login block for me to login. I tried tampering with the database and the settings.php file. The solution to this is just to visit your websites' url and adding ?q=user for example http://www.cancunmods.com/principal/?q=user literally use user. Some other posts suggest to use your username but it is wrong use the word user.