Returning server instead of app