Change register() function name to Register(). register is a C/C++ reserved keyword.
You missing semicolon.
The line:
int count=0
cout <<"Welcome! Please enter your first name\n";
should be:
int count=0;
cout <<"Welcome! Please enter your first name\n";
And all your functions should have void as return value:
void showmenu()
void Register ()
void login()
void forgotpassword()