Added a before_filter for any action that requires authentication. Will redirect to login page if not logged in