Created login/logout requests & added decent comments for class methods.