fix legend on server and error when not logged in
0.3.39
fix npm issues
0.3.40