change password and edit code frontend