fixed css for messages and time
fixed delete function