remove debugging from login procedure