added reset link
deleted unnecessary code