modified normal user login