add login token generation