Implemented better currentUser initializing to client; headers determined by currentUser type