Added check for Internet Connectivity and improved loading of tables

Now loads contact pictures asynchronously for faster overall
experience. Connectivity checks and login, classes, and friend
controllers to ensure reliability