updating code to rails 4.1 and using new authorized?