Added method for registering attendance in Store
Refactoring
AuthView now fetches a current user and adds attendance if student