added devise gem, implemented user handling