Implemented returning to prev url