revised authentication through devise. fixed authentication through google