Added catch to stop users registering without supplying all fields