Added class User through devise and some tests