amends to users controller