Fixed login in error pages
Profile page