added author and post models