implemented google oauth and converted erb files to haml