if user is logged in, they can't get to the login page
Merge pull request #54 from xxSandiLLyxx/homepath

Fixed homepath when logged in