Inproved index page style; added login check for login and signup page