Moved the check_license view to the api
Now the license api does not accept post methods