automatic login feature added.