Move logged_in? helper into the controller
Use the helper in the controller
Make tests nicer