quick hack for login