fixed redirect after login, fixed object print out on profile page