added API-calls for registration and updating profile