Added auth thread and reading from list of users and passwords