redirect to GetResultServlet page when the user has been
registered successfully

add apache commons codec lib to encrypt the password in db

Change-Id: I36ddfbaa2750f29a21ce0304db5fbe533fbccfc2