Assigning licences to user