update name, alert boxes for errors and success.

just need to perfect api and good to go