Fixed the logout button

There are some errors but we will work on these. Major changes made to
MainMenu and Login page