fix mobile login issue