Started working on registration functionality