Added env and path attrs to loginform