Adds better user validation in some controllers.