Profile, session fixes