updating login feature