adds sign in and out methods