Moved view_user functions to it's model from the controller. + some Major changes