work with registration controller