add method showerro() and connection to connect database
add text-align: center to auto-style2