added styles and loading animation