Added conditional navigation based on success of login to website.