Adding register and merging login user