add functionatliy to redirect to the main page after updating a todo
add boostrap and styling