fix class methods (find/create!), and add to_param for doorkeeper views to work properly