Added Attendance model and updated Event model and controller
Changed details type to text and date to datetime
Added resources for events and updated schema
Added views for events and updated layouts
Modified not_expired method in User model