Fix warnings
Use empty string literal instead of string()
Add functions to get user ID and persona name