refactored author to profile table/model