working on mobile login logic