some fix on the user controller