fixed redirect and added some html