cleaned up spacing in serverjs, need to rework and retest api oauth2 authentication