adding is_admin? method for refinery::user
adding documents extension
adding flash message to layout