Added login db check
Completed Login Page