app code from server - project final code