added some error and alert styling