Implemented homepage when there isn't a connection