added animated bar in registration process to give feedback to the user