Added ability to login and update nav accordingly.