Added the ability to log in to a server.