Is it possible to get currentUser on the server rendering?

Yes