added a little controller handling for registration