Connected login and index ejs views with route handlers