Handle guest token api responses
Remove dev flag