refactor function naming on server view files

refactor function naming on server view files