Improved the registration controller, to handle the whether the user has signed up or not