added specs and login before action or skip action for pages, students, and sessions controller