Added profile page. Fixed authentication.