finish GUI for login and register