add validation on register page
integrate timeline with API