Create tokens on login from API