Fixed query for user on error page
Merge pull request #1 from danlipert/master

Fixes entering a username and loading appropriate url