Expense manager in php