first try to login using api key
db pooling tweak