Added feature to check for updates

Client now checks for updates if computer is connected to the internet.