Added client side validation. Finished basic admin actions