added login functionality and css