Added user authentication and associations