Starting to create the register funcionality