fixed Dropdown and edited the redirect for the login page