tutorial based on http://code.tutsplus.com/articles/how-to-use-omniauth-to-authenticate-your-users--net-22094