example login to IMEM