Refactered the add expense page and validating expence name and amount