API for login with sms (key generator for login)