Push this code that's been lying around...
Handle user authentication
Refactor code for connection handling