Check to see if $author exists or not before redoing $author if there's no user id