Added Login and created initial database connection for insert and update