added login feature