lastLogin, redirect

redirects user to their page based on their status
lastLogin in database now gets updated whenever user logs in.