Step 5: Code Functionality on the Client