fix login.coffee