added user- and password-input, check static data
added writing to user specified file