Implements before_action filter for shift edit, update, destroy actions

* Implements before_action filter (logged_in) in layouts/application