working around missing method in devise 2.2