Move rank logic to UserCtrl
Move useroptions to user directive