Changed the way the config works with passwords

Read from textfiles to get usernames and passwords