added routes for api and hi, welcome page