fixing issues with devise, users, friendly id