Setting up server settings and login