added wifi control and creating hotspot