index page Validated

log in page validated
Sessions added for recording user detail
connection to the database established