added devise, profiles and postgres