fix login from env