removed legacy code and added devise views
removed legacy code and added devise views