created r_session and c_session to verify user logins