Added test for user login