added devise gem. linked posts and users