Checking and Updating user details on submission of code