Fix api base url
Add login to sample app