added devise and type
added relations ad-type and ad-users, added haml and resource ads