added devise authentication and also a few views