add test for successful user login