Allow login from navbar.

Redirects user back to page they logged in from.
Ignore more files.