Added internal class

The internal class is 98% the same as the on in loginActivity.
This is because profile creation will return the same information as profile login.
In addition, the final part onPostExecute() also remains the same because the user must be logged in using the credentials returned from profile creation.