fixed login and added some simple views