made links hidden when user is in a session, added profile link to index page