fixes and refactors a big bunch of stuff
reconciled  user.rb, wiki.rb, wikis show an d schema.rb