change home page button to go to profile if logged in, fixed bug