passing user to profile