Created user tests for signing in (all passing)

Cleaned up code per Hound and Helen's comments