Added code to specify rights of the user (operative or administrative).
Removed uneded token communication from user login service.
Added code to communicate user type and rights to the client after a successful authentication.
Improved the visualization of reference controls in accordance with the rights of the logged user. Fixed various errors into the reference details visualization.