more work on log in and start main menu