Basic Session Handling

Basic session handling like loggin in a user and checking if a user is logged in is implemented in this update.