Store user details in spark