rewrite users controller