def obtain_the_author(postid = nil)
      if id.blank?
        return nil if @content.blank? || !@content[0].blank?
      	obtain_users(@content.admin_id)
      else
      	Admin.joins(:posts).select(user_select_fields).where(posts: { id: postid }).first
      end
    end
def obtain_the_author(postid = nil)
      if id.blank?
        return nil if @content.blank? || !@content[0].blank?
      	obtain_users(@content.admin_id)
      else
      	Admin.joins(:posts).select(user_select_fields).where(posts: { id: postid }).first
      end
    end
returns the author of the current article/page
 Params:
 +postid+:: ID of the post/page that you want o obtain the author for