Added Sort to user page and favorite label to bms

closes #17 
Move function to user model.