Fixed duplicate-user error in google registration, Fixed code style in some modules