Added menu function and wrapped game map and login into a function
Merged changes