added .logout to nav controller