Added blog functions to user profile and fixed broken edit profile link in navbar