Added logout function, added profile link with picture and updated nag to respond to current auth status