Added login page and also properly implemented the redirect getter.