added signing in and out features