moved sucess message to main panel
removed name variable