Login from setting credentials