add login from db