add attendance functionality
decide to make seperate controller for attendances