You have declared, and are calling, a function Login::loginMenu
- a member function of class Login
- but you haven't implemented it. You have implemented a function ::loginMenu
- a non-member stand-alone function - but you are not calling it.
Make it
void Login::loginMenu() {...}