logging in on all pages. encoding issues fixed. logout working.