Fixed a problem with the checkUserCoherence function and the the user types.