Web ui fixes

ping @mperham 
Done!

I'm not sure how to implement the test, can you do it or tell me how ?