Handling attendance permission and course persistence. Added unit tests. Added dummy data in Main UI