finish login feature