more github oAuth stuff, improved code by convention standards for views