Add funtion login & identity