fix gui for login