added basic authentication and styles