fix bug on users_api - user login feature