submit and handle user details