jwt generation for login processor