Added registration functionality, temp change for registration fix made to customer class.