solved issue with primary key entry for registration proces