migrate existing code blocks to make use of ServiceManager
make necessary changes to the controllers to fetch the instances of RegisterForm, LoginForm, UserTable classes from ServiceManager