Changed event paths and added register button