Adding attributes in application controller