created test coverage for users controller