Configured SSL, added better authentication