finished create and edit detail
fixed little bug register and profile