setup devise and added user model validation