Update main.cpp

Updated requirements for registration