cannot register account with empty fields, and also made order list to sort database by time and move completed orders to bottom