added devise views, and did some refactoring