added login flow page, redirect page and changed some inline documentation