finished basic web interface for photting