added user authentication for mobile