[fix] error handling

+ npm update -.-
+ naming
[fix] logout errorhandling