Created a session resource to allow users to sign in and out.