Adding bug fixes for social auth and model processing