Fixed the Serverside's changing password and implemented in the client
side. Also fixed error in the serverside and client side.