Added session support for sign in and sign out