Changes. Added viewProfiles, accepting SignUp and Login objects.