Adding login support and some other pages.