Modularized some function

> Blocks of functions are shifted to different location
> Unfollow function added
> Now 'refreshes' page when user follows/unfollow/changedefaultboard
To Do:
Follow/Unfollow to modify user accordingly.