Loading Function

Loading icon added while establishing the connection to the server