added the login functionality as well as session and a small logout biiiitch