Trying to get registration into db