Check token for get issues function and get issues for token user id