adding the user title permission verification to make sure current
user is allowed to upload file.