Moved insert user (register) to model;
Moved edit user settings from controllerto model;
Another methods moved from controller to models;
Moved insert vote from controller to model;