Add signout function to regulation controller Fixes #1