api call to login
created users table