Added funcationality to the split + reset buttons as well as log in functionality through the firebase