Fixed A Lot of Logic

- implemented search fragment back pressed logic
- changed networking logic