implemented first gui functionality (login, logout)