wrote integration tests for user on homepage