changed from old to new hash syntax style; changed before_filter to before_action; changed after_filter to after_action