Implement proper user registration into gcm and exchanging auth ids