changed db; added devise