Move common codes in actions to single method class
Merge branch 'master' of https://github.com/jessehwong/Attendance.git