Adding the controller for registering/logging users