Added Devise for user and added tree model