Added login page; redirects to index after login