Passing parameters to edit a specific record in embedded form

Passing parameters to edit a specific record in embedded form

I am creating a dashboard for a customer portal in which I want to use the current logged in user (zoho.loggedinuserid) to find their corresponding customer account record and display it for editing after they log in.  However I can't get the syntax correct.  

Here's my code:

********************

htmlpage Home_Page()
displayname = "Home Page"
content
<%{
if(Boat_Owners[record_loginuserid == zoho.loginuserid].count() > 0)
{
//Display the Boat_Owners form so that the logged in user can fill it out with his personal information and save it.  This is only done once.  There will be a requirement to read the terms and conditions for the license by the user as well.
%>
<div elName='zc-component' formLinkName='Boat_Owners' params='zc_Header=true&amp;zc_SuccMsg=Data Added Successfully!&amp;zc_SubmitVal=Submit&amp;zc_ResetVal=Reset&amp;record_loginuserid == (3343414000000045256)'>Loading Form...</div>
<%
}
else
{
//Display the dashboard that an existing registered boat owner will see first upon starting the app
}

}%>


********************