Fixed login persistence issue, added profile page