added events detail page. fixed login