working on front end

fixed a few bugs