Created User controller for registration.