Refactor fn get_*_token; Remove `@` from error message

- Refactor functions that get token, so that each function assumes
  token starts with it, instead of it starting mid way.
- Removed managed pointer `@` from error messages.