adds functioning sign out button