Creates an object that reflects the structure of an Okta User Object
@method constructProfile
@param firstName
@param lastName
@param email
@param login optional
@param mobilePhone optional
@param customAttribs a map of property -> propertyValue for custom attributes on a user
@returns {{}}
function constructProfile(firstName, lastName, email, login, mobilePhone, customAttribs) {
    var profile = {};
    profile.login = (login ? login : email);
    profile.email = email;
    profile.firstName = firstName;
    profile.lastName = lastName;
    profile.mobilePhone = mobilePhone;
    if(customAttribs != undefined) {
        for(prop in customAttribs) {
            profile[prop] = customAttribs[prop];
        }
    }
    return profile;
}