reinstall resty
add resty libraries
could login, but no db