second version

Registration to database completed