remove unused parameters from User