changed login, signup page and added session