some fixes on users controller
some fixes on users controller