working code minus front facing camera UI still needs tweaking