added login, auth and config