Migrate DB and fix issue with devise's user_signed_in? method