Adds a variable that redirects users after logging in or already logged
in users who try to access the login page. Fixes #3 and #5
Log information about a user