added message/error flashing, feel free to add css