controller fix for devise