Component pattern implemented, Auth and Lobby components added, prevention of logging in twice added. code not the cleanest in places