MDL-47408 user: Add checking before adding blog's link.

Checking enableblogs  and bloglevel, userid, constant  BLOG_USER_LEVEL.