Made a lot of changes on licence controler, views and form