added filter for license to user, updated authentication controller