modified the login function then can get jwt token