Fix/visitor registration

Removing registration logic from controller into the model and made the process more dynamic