Create login.cpp

a c++ program to perform a login check from database;