[IMP]Maked if condition one liner in registration create method.