more error prevention conserning the enter button and clicking the mouce with the login GUI