ui enhancements, firebase integration, code refactors