adjusting styles and adding some server communications