added some mobile hooks, needs testing. fixed recover redirect issue