Registration can insert data to db