GUI updated and login implemented