added require for user and post files