added logout option and showed username in nav